import pandas as pd
import numpy as np


namelist = np.array([ 'Airplane.csv', 'Baboon.csv', 'Elaine.csv', 'Boat.csv','Lena.csv'])


list = []
original_data = pd.read_csv('./update.csv').values
original_data = np.array(original_data[:,1:],dtype=int)
data = original_data[0,:]
data = data[data>0]
# for i in range(len(namelist)):
#     original_data = pd.read_csv('./2022-3-1/' + namelist[i]).values
#     original_data = original_data[:, 1:]
#     update_data = pd.read_csv('./2022-3-3/' + namelist[i]).values
#     update_data = update_data[:, 1:]
#     name_index = update_data > original_data
#     index_soe = np.where(name_index == False)[0]
#     list.append(index_soe)
#
# pd.DataFrame(list).to_csv('update.csv')